package com.naiterui.ehp.bs.consult.repository;

import com.naiterui.common.repository.core.BaseJpaRepository;
import com.naiterui.ehp.bp.domain.Doctor;
import org.springframework.stereotype.Repository;

import java.util.Collection;
import java.util.List;

/**
 * 医生
 *
 * @author yangfuya
 * @version 1.0
 * @date 2021-02-27 16:52
 **/
@Repository
public interface DoctorRepository extends BaseJpaRepository<Doctor, Long> {
    List<Doctor> findByIdIn(Collection ids);

    List<Doctor> findByHospitalId(Integer hospitalId);

}
